//
//  Particle.h
//  MultiTouch
//
//  Created by iD Student on 7/9/13.
//  Copyright (c) 2013 iD Student. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ViewController.h"

@interface Particle : NSObject
{
    UIImageView *image;
    float velocityX, velocityY;
    int lifetime;
}

- (id) init:(UIImage *)imageNamed;
- (void) update:(UIImage *)image;
- (BOOL) isAlive;

@property (nonatomic, retain) UIImageView *image;
@property (nonatomic, readwrite) float velocityX, velocityY;
@property (nonatomic, readwrite) int lifetime;

@end
